package com.javaAPI.demo10;

import java.util.Date;

public class Test9 {
    public static void main(String[] args) {

        Date date = new Date();
        System.out.println(date.getTime());

        long time = 1000 * 60 * 60;
        date.setTime(time);
        System.out.println(date);
    }
}